home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 3-069 qemm 603 / 1.ima / DVMAN / CH4.DEV < prev    next >
Encoding:
Text File  |  1991-10-08  |  21.6 KB  |  683 lines

  1. Chapter 4 
  2.  
  3. DOS Services
  4.  
  5.  DESQview's DOS Services gives you access to all the features of
  6. DOS while you're using DESQview.
  7.  
  8. The most commonly used DOS commands ~dash~ Copy, Erase, Format
  9. diskette, Rename, Type, and so forth ~dash~ can be performed
  10. using DESQview menus.  You don't have to remember the format of
  11. the command ~dash~ just fill in the information indicated in the
  12. DESQview menu.  For the less-used DOS commands, DESQview doesn't
  13. provide a menu but does permit you to enter the command in the
  14. standard DOS format.
  15.  
  16. The DESQview Directory command has two major features not
  17. available in DOS:
  18.  
  19. ~Item~ You can sort the directory to two levels by any of eight
  20. sort criteria.
  21.  
  22. ~Item~ Once you have a directory of sorted file names on the
  23. screen, you can mark (select) one or more of these names and then
  24. perform one of the seven main DOS commands on the files you
  25. marked.
  26.  
  27. For example, you could sort your "current work" directory on the
  28. hard disk by Newest Time (meaning that the most recently created
  29. document would be listed first), mark all the files you created
  30. today, and then select the Copy (or Backup) command to save all
  31. these files to diskette.
  32.  
  33. When you start up DOS Services, the DOS services window appears
  34. in the left half of your screen and the DOS Services menu appears
  35. in the upper right-hand corner.  When you select a DOS command,
  36. that command is performed in the DOS Services window.
  37.  
  38.  If, after starting a DOS command, you switch away to another
  39. window, the command will continue to operate in background while
  40. you do other work.
  41.  
  42. The DOS Services menu has no Quit command. To quit DOS Services,
  43. close its window from the DESQview menu.
  44.  
  45. ~Heading~ Displaying a Directory and Marking Files
  46.  
  47.  DOS Services' Directory command lets you manage your files.
  48.  
  49.  With this command you can sort the files in the chosen directory
  50. and then, if you wish, mark a file (or group of files) and
  51. perform one of the seven main DOS commands on the files you
  52. marked.
  53.  
  54.  For example, if you wanted to erase all the files you created
  55. more than a month ago, you would display a directory of those
  56. files sorted by date, mark the ones created more than 30 days
  57. ago, and select the Erase command. (Consider how difficult this
  58. task is in DOS.)
  59.  
  60.  The following steps describe how to display a sorted directory,
  61. mark some files you want to copy, and then perform the Copy
  62. command on these files. The same steps apply to using all seven
  63. main DOS Services commands.
  64.  
  65. ~Subhead~ 1. Display the Directory menu, then type the name of
  66. the directory you want to list.
  67.  
  68.  When you open DOS Services, the directory window is empty,
  69. except for the prompt, "DESQ :" To display a directory, type D or
  70. click on Directory in the DOS  Services menu. Then:
  71.  
  72. ~Step~ Enter a path name in the Path field.
  73.  
  74.  The first time you use the Directory command, the Path field is
  75. filled in with the path from which you started up DESQview,
  76. usually:
  77.  
  78.  C:\DV or A:\
  79.  
  80.  Thereafter, DESQview remembers the last path you specified and
  81. fills it in for you.
  82.  
  83.  A path name consists of two parts:
  84.  
  85.  The drive letter, which specifies the drive to use.
  86.  
  87.  The path name, which specifies the DOS subdirectory to use.
  88.  
  89.  You may also supply a file name, or group of files to list.  (To
  90. specify a group of files, use the DOS global characters, ? and
  91. *). However, the file specification is not remembered with the
  92. drive and directory.
  93.  
  94. ~Subhead~ 2. If you want to change the primary sort key, select
  95. Primary Sort Key. 
  96.  
  97. ~Step~ Using the keyboard, press up arrow and type P.
  98.  
  99.  The Primary Sort Key menu appears.
  100.  
  101. ~Step~ Select the primary sort criteria you want.
  102.  
  103.  The Directory menu reappears with the sort criteria you selected
  104. listed (highlighted) under the Primary Sort Key entry.
  105.  
  106.  The list of files you select is sorted to two levels. First, it
  107. is sorted by the primary sort key.  Then, within each group of
  108. files with the same primary sort key, a second sort is performed,
  109. using the secondary sort key.
  110.  
  111.  The default primary sort key is initially set to File Extension.
  112. Thereafter, DESQview remembers the last sort key you specified
  113. and fills it in for you.
  114.  
  115. ~Subhead~ 3. If you want to change the secondary sort key, select
  116. Secondary Sort Key.   
  117.  
  118. ~Step~ Using the keyboard, press up arrow and type S.
  119.  
  120.  The Secondary Sort Key menu appears.
  121.  
  122. ~Step~ Select the secondary sort criteria you want.
  123.  
  124.  The Directory menu reappears with the secondary sort criteria
  125. you selected.
  126.  
  127.  The default secondary sort key is initially set to File Name.
  128. Thereafter, DESQview remembers the last sort key you specified
  129. and fills it in for you.
  130.  
  131. ~Subhead~ 4. Select DISPLAY Directory. 
  132.  
  133.  The DOS Services window is cleared. Then, after a moment, the
  134. sorted list of files appears and the DOS Services menu reappears
  135. with three additional commands; Mark By Name, Only Show Marked
  136. and Unmark by Name.  See page 80 for a description of these
  137. commands.
  138.  
  139.  The cursor appears in the DOS Services window so you can mark
  140. file names.  If the entire list isn't visible, you can scroll it
  141. by moving the cursor below the last line or by using the PgUp or
  142. PgDn keys.
  143.  
  144.  The following commands are also available.
  145.  
  146.  Home/End move the cursor to the top/bottom of the window.
  147.  
  148.  Ctrl-Home/Ctrl-End move the cursor to the beginning/end of the
  149. list.
  150.  
  151.  You can also move the cursor, mark file names, and scroll, using
  152. the mouse. To scroll, click on the  PgUp, PgDn, arrows, Home and
  153. End option boxes at the top of the DOS Services window.
  154.  
  155. ~Subhead~ 5. Mark the file names you want.
  156.  
  157.  To mark a file name using the keyboard:
  158.  
  159. ~Step~ Use the up and down arrow keys to move the cursor to the
  160. file name you want to mark.
  161.  
  162. ~Step~ Press the space bar. ~dagger~
  163.  
  164.  Or, using the mouse:
  165.  
  166. ~Step~ Click on the file name you want to mark.
  167.  
  168.  Repeat this process until all the file names you want are
  169. marked. (Marked names are preceded by ~symbol~ and  highlighted.) 
  170. To unmark a file,  press the spacebar again.
  171.  
  172.  If you mark a directory name ~dash~ <DIR>  ~dash~ the Directory
  173. menu reappears with the directory name you selected filled into
  174. the Path field. Complete this menu in the normal manner.
  175.  
  176.  ~dagger~   You may optionally use the gray  + key (at the far
  177. right side of the keyboard) in place of the space bar to mark and
  178. unmark files.
  179.  
  180. ~Subhead~ 6. Select the command you want to perform on the marked
  181. files.
  182.  
  183.  Select one of the seven  commands shown on the DOS Services
  184. menu: Append, Backup, Copy, Erase, Print, Rename, or Type.
  185.  
  186.  See page 80 for a description of how to use the Mark by Name,
  187. Only Show Marked, and Unmark by Name commands.
  188.  
  189.  The following sequence of actions occurs:
  190.  
  191. ~Item~ All unmarked file names are cleared from the DOS Services
  192. window.
  193.  
  194. ~Item~ The menu for the command you selected appears with the
  195. name of the first file filled into its From (or File) field. The
  196. name is highlighted to indicate that you can't change it.
  197.  
  198. ~Subhead~ 7.  Supply any additional information needed to
  199. complete the command and then select START.
  200.  
  201.  If the command has a To field, enter the appropriate file name
  202. in this field.
  203.  
  204. ~Step~ If you want to turn on any of the command options, select
  205. those options.
  206.  
  207. ~Step~ Select START.
  208.  
  209.  The DOS Services window is cleared and DESQview performs the
  210. command you selected on the first marked file. Then it performs
  211. the command on each remaining marked file in turn.
  212.  
  213.  The DOS commands that correspond to the actions being performed
  214. appear in the DOS Services window as each marked file is
  215. processed.
  216.  
  217.  If you mark multiple files, pressing Ctrl-Break aborts further
  218. processing after completing the operation in progress ~dash~
  219. except for Type, which is aborted immediately.
  220.  
  221.  If you switch away from the DOS Services window, the processing
  222. of files continues in background.
  223.  
  224. ~Heading~ How to Perform a DOS Services Command
  225.  
  226.  All the DOS Services commands are performed in a similar manner.
  227.  
  228.  The instructions on this page show how to perform the Copy
  229. command.  Follow these general instructions for all the other DOS
  230. Services commands.
  231.  
  232.  If a directory is displayed in the DOS Services window at the
  233. time you select a command, and you have marked one or more file
  234. names in the directory, the command operates on the names you
  235. marked.
  236.  
  237.  Each marked name is automatically filled into the From (or File)
  238. field in turn.  You must still complete the other fields as
  239. described in step 1. (See the preceding two pages for more
  240. information on using directories.)
  241.  
  242. ~Subhead~ 1. Type the file name or other information requested in
  243. the fill-in field (or in each field if there are several).
  244.  
  245.  Most commands require you to enter one or two file names.  Some
  246. require you to enter a drive  or path. Some require both.
  247.  
  248.  When a file name is required, you may usually specify either a
  249. single file or a group of files.  To specify a group of files,
  250. use the DOS global characters (? and *) in the file name
  251. according to standard DOS conventions.
  252.  
  253.  If the command has several fill-in fields, press Tab to move
  254. between fields.
  255.  
  256. ~Subhead~ 2. If you want to turn on any of the command options,
  257. select those options.
  258.  
  259.  Most commands have one or more options.  When the menu first
  260. appears, each of the options is turned off.
  261.  
  262.  To select an option using the keyboard:
  263.  
  264. ~Step~ Press the up arrow key, then type the letter corresponding
  265. to the option.
  266.  
  267.  To select an option using the mouse:
  268.  
  269. ~Step~ Click on the desired option.
  270.  
  271.  When an option is turned on, it is preceded by ~symbol~ and
  272. highlighted.
  273.  
  274. ~Subhead~ 3. Select START to perform the command.
  275.  
  276.  The list of files, if any, in the DOS Services window is removed
  277. and the DOS command corresponding to the command you selected
  278. shows in the window.
  279.  
  280.  DOS then performs the command in the normal manner.  If DOS
  281. requires a response from you ~dash~ as, for example, it does when
  282. you format a diskette ~dash~ DOS's message appears in the DOS
  283. Services window. You respond to it in the normal manner.
  284.  
  285.  When the command being performed is completed, the DOS Services
  286. menu reappears.
  287.  
  288. ~Heading~ The DOS Services Menu
  289.  
  290.  The DOS Services menu is the master list of DOS commands
  291. supported by DESQview. The most often-used commands are listed on
  292. this menu. Less often-used commands are listed on the More menu. 
  293. You can enter your own DOS commands  using the Other command
  294. (listed on the More menu). To navigate to the Other command
  295. quickly, press * twice.
  296.  
  297.  The three commands shown shaded on the above menu ~dash~ Mark by
  298. Name, Only Show Marked, and Unmark by Name ~dash~ are used to
  299. mark and unmark names in a directory. These commands only appear
  300. when you've listed a directory in the DOS Services window by
  301. using the Directory command.
  302.  
  303. ~Subhead~ Directory 
  304.  
  305.  You use the Directory command to display a list of files in the
  306. DOS Services window.  You can list all the files in the DOS
  307. directory, or only those that match the criteria you specify
  308. here.
  309.  
  310.  You can sort the directory at two levels and by any one of eight
  311. sort criteria at each level.  For example, you could sort by day
  312. and then alphabetically within each day.
  313.  
  314.  Once you have used the Directory command to display a directory
  315. in the DOS Services window, you can mark one or more files and
  316. then perform any of the commands listed on the main DOS Services
  317. menu on the files you marked.
  318.  
  319.  See pages 72-73 for more complete information on how to use the
  320. Directory command.
  321.  
  322. ~Subhead~ Append 
  323.  
  324.  You use the Append command to append two or more files together:
  325.  
  326. ~Step~ Type in the From field the name of the files to be
  327. appended to the To file.
  328.  
  329. ~Step~ Press Tab and type in the To field the name of the file to
  330. which you want the From files appended.
  331.  
  332. ~Step~ Select any options you want turned on.
  333.  
  334. ~Step~ Select START.
  335.  
  336.  The To file cannot contain the DOS global characters (? and *).
  337.  
  338. ~Subhead~ Backup 
  339.  
  340.  You use the Backup command to back up files from your hard disk
  341. to floppy diskettes:
  342.  
  343. ~Step~ Type in the From File field the name of the files to be
  344. backed up.
  345.  
  346. ~Step~ If you're not using Drive A, press Tab and type the letter
  347. of the drive you are using in the To Drive field.
  348.  
  349. ~Step~ If you wish to back up only those files created on or
  350. after a certain date, press Tab and enter that date in the Since
  351. field.  (Leave the date 01-01-80 to back up all files.)
  352.  
  353. ~Step~ Select any options you want turned on.
  354.  
  355. ~Step~ Select START.
  356.  
  357.  Note: The DOS backup program must be in your DOS path. Also, see
  358. Appendix E for an important warning.
  359.  
  360. ~Subhead~ Copy
  361.  
  362.  You use the Copy command to make a copy of one or more files:
  363.  
  364. ~Step~ Type in the From field the name of the file(s) to be
  365. copied.
  366.  
  367. ~Step~ Press Tab and type in the To field the name you wish to
  368. give to the copy of the file(s).
  369.  
  370. ~Step~ Select any options you want turned on.
  371.  
  372. ~Step~ Select START.
  373.  
  374. ~Subhead~ Erase
  375.  
  376.  You use the Erase command to delete one or more files from a
  377. floppy diskette or from your hard disk:
  378.  
  379. ~Step~ Type in the File field the name of the file(s) to be
  380. deleted.
  381.  
  382. ~Step~ Select START.
  383.  
  384. ~Subhead~ Print 
  385.  
  386.  You use the Print command to manage the DOS print queue of files
  387. being printed in background.
  388.  
  389.  To add a file (or files) to the print queue, or to delete files
  390. from the print queue:
  391.  
  392. ~Step~ Type in the File field the name of the file(s) to be added
  393. to the queue or deleted.
  394.  
  395. ~Step~ Select ADD or REMOVE.
  396.  
  397.  To display the current contents of the queue:
  398.  
  399. ~Step~ Select DISPLAY.
  400.  
  401.  To halt printing and discard the queue:
  402.  
  403. ~Step~ Select HALT.
  404.  
  405.  See Appendix E for more information about using print spoolers
  406. in DESQview.
  407.  
  408. ~Subhead~ Rename 
  409.  
  410.  You use the Rename command to change the names of one or more
  411. files:
  412.  
  413. ~Step~ Type in the From field the name of the file(s) to be
  414. renamed.
  415.  
  416. ~Step~ Press Tab and type in the To field the new name you wish
  417. to use for the file(s).
  418.  
  419. ~Step~ Select START.
  420.  
  421. ~Subhead~ Type
  422.  
  423.  You use the Type command to display the contents of one or more
  424. files in the DOS Services window.
  425.  
  426. ~Step~ Type in the File field the name of the file(s) to be
  427. typed.
  428.  
  429. ~Step~ Select START.
  430.  
  431.  To suspend typing, so you can read the contents of the file:
  432.  
  433. ~Step~ Press the Ctrl-NumLock ~dagger~ key.
  434.  
  435.  (You can also use the Pause key., but, remember, this will lock
  436. your system until you press another key.)
  437.  
  438.  Then, to continue typing, press any key.
  439.  
  440.  To cancel the Type command, when you don't want to see any more
  441. of the text:
  442.  
  443. ~Step~ Press the Ctrl-Break key.
  444.  
  445. ~Subhead~ Mark by Name Only Show Marked Unmark by Name
  446.  
  447.  You can  use these commands to mark and unmark file names that
  448. you've displayed in the DOS Services window using the Directory
  449. command.
  450.  
  451.  You can:
  452.  
  453. ~Item~ Mark a group of file names.
  454.  
  455. ~Item~ Show only the marked file names and hide the rest.
  456.  
  457. ~Item~ Unmark a group of file names.
  458.  
  459.  You can also manually change the individual order of the files
  460. ~dash~ after they are displayed in the window. You do this by
  461. using the Ins key to move a file name to another position in the
  462. directory listing:
  463.  
  464. ~Step~ Mark a file name using the space bar or the mouse.
  465.  
  466. ~Step~ Position the cursor on the line above which you want the
  467. name you just marked to be moved.
  468.  
  469. ~Step~ Press the Ins key.
  470.  
  471.   See page 80 for more information on Mark by Name, Only Show
  472. Marked and Unmark by Name. You can also mark names using the
  473. keyboard or the mouse (see page 73).
  474.  
  475.  These three commands only appear on the DOS Services menu after
  476. you have displayed a directory in the DOS Services window using
  477. the Directory command.
  478.  
  479. ~Subhead~  More
  480.  
  481.  You use the More command to display a menu of additional, less-
  482. used DOS commands for which DESQview provides built-in support.
  483.  
  484.  The entries on the More menu are divided into three groups:
  485.  
  486. ~Item~ The first group lets you change the default directory for
  487. the DOS Services window or create or delete a directory.
  488.  
  489. ~Item~  The second group lets you copy or format a diskette or
  490. restore files you backed up (using the Backup command).
  491.  
  492. ~Item~ The Other command lets you enter your own DOS command.
  493.  
  494.  See the next two pages for additonal information.
  495.  
  496. ~Heading~ More DOS Services
  497.  
  498.  In addition to the commands listed on the main DOS Services
  499. menu, DESQview supports six other, less-used DOS commands, plus
  500. Other.
  501.  
  502.  You use Other to perform the remaining DOS commands.  You can
  503. also use Other to perform any of the commands built into DOS
  504. Services if you wish to use one of these commands in an extended
  505. way.
  506.  
  507. ~Subhead~ Change Directory
  508.  
  509.  You use the Change Directory command to change the default drive
  510. or directory used by commands performed in the DOS Services
  511. window.
  512.  
  513.  When the DOS Services window is first opened, the default is set
  514. to the path from which you started up DESQview, usually:
  515.  
  516.           C:\DV or A:\
  517.  
  518.  To change the default drive:
  519.  
  520. ~Step~ Type in the Path field the new default drive letter
  521. followed by a colon ~dash~ for example, A:
  522.  
  523.  Or, to change the default directory:
  524.  
  525. ~Step~ Type in the Path field the new default directory name
  526. ~dash~ for example, \1-2-3.
  527.  
  528. ~Step~ Select CHANGE.
  529.  
  530. ~Subhead~ Make Directory
  531.  
  532.  You use the Make Directory command to create a new directory
  533. entry on the current default drive:
  534.  
  535. ~Step~ Type in the Path field the name of the new directory you
  536. want to create ~dash~ for example, \dBASE.
  537.  
  538. ~Step~ Select MAKE.
  539.  
  540. ~Subhead~ Remove Directory
  541.  
  542.  You use the Remove Directory command to delete an existing empty
  543. directory entry from the current drive:
  544.  
  545. ~Step~ Type in the Path field the name of the directory you want
  546. to delete ~dash~ for example, \WordStar.
  547.  
  548. ~Step~ Select REMOVE.
  549.  
  550.  This command will give an error and not remove the directory 
  551. under the following circumstances:
  552.  
  553.  If there are any files in the directory being removed.
  554.  
  555.  If the directory to be removed is  the current default
  556. directory.
  557.  
  558. ~Subhead~ Copy Diskette
  559.  
  560.  You use the Copy Diskette command to make a copy of a diskette
  561. (Diskcopy). This will copy the contents of one diskette to
  562. another, including directories, if any. This will only work with
  563. diskettes of the same size and density. 
  564.  
  565.  If you're not copying from drive A to drive B:
  566.  
  567. ~Step~ Type in the From Drive field the letter of the drive
  568. containing the diskette to be copied.
  569.  
  570. ~Step~ Press Tab and type in the To Drive field the letter of the
  571. destination drive  (they can be the same drive- you'll be
  572. prompted to swap disks if so.)
  573.  
  574. ~Step~ Select the Copy Only Single Side option if you want it
  575. turned on.
  576.  
  577. ~Step~ Select START.
  578.  
  579.  Follow the instructions displayed in the DOS Services window.
  580.  
  581. ~Subhead~ Format Diskette 
  582.  
  583.  You use the Format Diskette command to format a new diskette
  584. before you use it on your system:
  585.  
  586. ~Step~ If you're not using drive A, type the letter of the drive
  587. you are using in the Use Drive field.
  588.  
  589. ~Step~ Select any options you want turned on.  (See your DOS
  590. Manual for a more complete explanation of these options.)
  591.  
  592. ~Step~ Select START.
  593.  
  594.  Follow the instructions displayed in the DOS Services window.
  595.  
  596. ~Subhead~ Restore Backup 
  597.  
  598.  You use the Restore Backup command to restore files saved using
  599. the Backup command:
  600.  
  601. ~Step~ If you're not using drive A, type the letter of the drive
  602. you are using in the From Drive field.
  603.  
  604. ~Step~ Press Tab and type in the To File field the name of the
  605. files to be restored.
  606.  
  607. ~Step~ Select the option, Include All Subdirectories,  if you
  608. want it turned on.
  609.  
  610. ~Step~ Select START.
  611.  
  612.  Follow the instructions displayed in the DOS Services window.
  613.  
  614.  Note: The DOS Restore program must be in your DOS path. Also,
  615. see Appendix E for an important warning.
  616.  
  617. ~Subhead~ Other
  618.  
  619.  You use the Other command to perform those DOS commands not
  620. built into DOS Services.
  621.  
  622.  You can also use Other to perform any legal DOS command, you
  623. wish. For example, to copy a binary file, you would use the Copy
  624. command with the /B option.
  625.  
  626. ~Step~ Type in the DOS field the DOS command to be performed (up
  627. to 112 characters long).
  628.  
  629. ~Step~ Select PERFORM.
  630.  
  631.  The command you enter is performed in the DOS Services window.
  632.  
  633.  After you first use the OTHER command, the DOS field will
  634. remember the last DOS command you performed and fill it in for
  635. you.
  636.  
  637.  There are no restrictions on what you may enter in the DOS
  638. field.  However, any program you invoke must fit in the memory
  639. space allotted to DOS Services, after subtracting the space for
  640. the DOS Services program itself.
  641.  
  642. ~Heading~ Marking and Unmarking File Names
  643.  
  644.  In addition to marking and unmarking file names by using the up
  645. arrow key, the down arrow key and the space bar (see page 73),
  646. you can use the Mark by Name, Only Show Marked, and Unmark by
  647. Name commands.
  648.  
  649.  
  650.  ~Subhead~ Mark by Name
  651.  
  652.  You use the Mark by Name command to mark a file or group of
  653. files explicitly by name:
  654.  
  655. ~Step~ Type in the Name(s) field the file name(s) to be marked.
  656.  
  657.  To specify a group of names, use the DOS global characters (?
  658. and *) in the file name according to standard DOS conventions.
  659. (Enter  *.* to mark all files .)
  660.  
  661. ~Subhead~ Only Show Marked 
  662.  
  663.  You use the Only Show Marked command to hide all unmarked files
  664. from the list of files, leaving in the DOS Services window a list
  665. consisting of only the marked files. The hidden files are still
  666. on your disk, they are just removed from view.
  667.  
  668.  To show all files again: 
  669.  
  670. ~Step~ select the Directory command
  671.  
  672. ~Step~ select Display Directtory.
  673.  
  674. ~Subhead~ Unmark by Name
  675.  
  676.  You use the Unmark by Name command to unmark a file or group of
  677. files explicitly by name:
  678.  
  679. ~Step~ Type in the Name(s) field the file name(s) to be unmarked.
  680.  
  681. To specify a group of names, use the DOS global characters (? and
  682. *) in the file name according to standard DOS conventions.
  683.